package com.minutes.in.seconds.ui.event;

import android.support.v4.app.FragmentManager;
import android.view.View;
import android.view.View.OnClickListener;

import com.minutes.in.seconds.R;
import com.minutes.in.seconds.ui.screens.LibraryActivity;

public class LibraryEventHandler implements OnClickListener {

	private LibraryActivity libraryActivity;

	private FragmentManager fragmentManager;

	public LibraryEventHandler(LibraryActivity libraryActivity) {
		super();
		this.libraryActivity = libraryActivity;

		fragmentManager = libraryActivity.getActivity().getSupportFragmentManager();
	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.btnAddNew:
			addNewMeeting();
			
			break;
		case R.id.btnSearch:
			searchMeeting();
			
			break;
		default:
			break;
		}

	}

	private void addNewMeeting() {
		
	}

	private void searchMeeting() {

	}
}
